package com.topvision.service.impl.ar;

import com.topvision.vo.OffFaceDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.ar.OffFaceMapper;
import com.topvision.model.ar.OffFace;
import com.topvision.service.ar.OffFaceService;

@Service("offFaceService")
public class OffFaceServiceImpl implements OffFaceService {
    @Autowired
    private OffFaceMapper offFaceMapper;

    @Override
    public OffFace queryObject(Long id) {
        return offFaceMapper.queryObject(id);
    }

    @Override
    public List<OffFace> queryList(Map<String, Object> map) {
        return offFaceMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return offFaceMapper.queryTotal(map);
    }

    @Override
    public void save(OffFace offFace) {
        offFaceMapper.save(offFace);
    }

    @Override
    public void update(OffFace offFace) {
        offFaceMapper.update(offFace);
    }

    @Override
    public void delete(Long id) {
        offFaceMapper.delete(id);
    }

    @Override
    public void deleteBatch(Long[] ids) {
        offFaceMapper.deleteBatch(ids);
    }

    @Override
    public OffFace queryObjectByMap(Map<String, Object> map) {
        return offFaceMapper.queryObjectByMap(map);
    }

    @Override
    public List<OffFace> queryByParam(Map<String, Object> map) {
        return offFaceMapper.queryByParam(map);
    }

    @Override
    public List<OffFaceDTO> findByParam(Map<String, Object> map) {
        return offFaceMapper.findByParam(map);
    }

    @Override
    public void insertBatch(List<OffFace> offFaces) {
        offFaceMapper.insertBatch(offFaces);
    }

    @Override
    public Integer delbyschedule(String dateStr) {
        return offFaceMapper.delbyschedule(dateStr);
    }

    @Override
    public void delnopic(Map<String, Object> parammap) {
        offFaceMapper.delnopic(parammap);
    }

    @Override
    public List<OffFace> findByDelTime(String datestr) {
        return offFaceMapper.findByDelTime(datestr);
    }

    @Override
    public List<OffFace> queryObjects(Object[] id) {
        return offFaceMapper.queryObjects(id);
    }
}
